package com.goods.business.service;

import com.goods.common.error.BusinessException;
import com.goods.common.vo.business.InStockDetailVO;
import com.goods.common.vo.business.InStockVO;
import com.goods.common.vo.system.PageVO;

public interface InStockService {

  PageVO<InStockVO> findInStockList(Integer pageNum, Integer pageSize, InStockVO inStockVO);

  InStockDetailVO detail(Long id, Integer pageNum, Integer pageSize) throws BusinessException;

  void addIntoStock(InStockVO inStockVO) throws BusinessException;

  void remove(Long id) throws BusinessException;

  void back(Long id) throws BusinessException;

  void publish(Long id) throws BusinessException;

  void delete(Long id) throws BusinessException;
}
